package com.study.talk.data.model;


import com.study.common.annotation.Desc;

import java.io.Serializable;


/**
 * @author thor
 * @since 2023-12-18
 */


public class User implements Serializable {


    @Desc("用户id")
    private Integer id;

    @Desc("用户名")
    private String username;

    @Desc("用户密码")
    private String password;

    @Desc("创建日期")
    private String createTime;


    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public User(Integer id, String username, String password, String createTime) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.createTime = createTime;
    }

    public User() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
